package main

import (
	"fmt"
	"pointclient/datasource"
	"pointclient/server"
	"time"
)

func main() {
	// 初始化
	ok := server.InitServer()
	if !ok {
		return
	}

	// 运行服务
	ok = server.StartServer()
	if !ok {
		return
	}
	datasource.GStartTime = time.Now().Unix()

	fmt.Printf("start server success...\n")
	select{}
}